Optimal. Leaf size=107 \[ \frac {3 \tanh ^{-1}(\sin (c+d x)) \sqrt {b \cos (c+d x)}}{8 d \sqrt {\cos (c+d x)}}+\frac {\sqrt {b \cos (c+d x)} \sin (c+d x)}{4 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {3 \sqrt {b \cos (c+d x)} \sin (c+d x)}{8 d \cos ^{\frac {5}{2}}(c+d x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 107, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {17, 3853, 3855}
\begin {gather*} \frac {3 \sin (c+d x) \sqrt {b \cos (c+d x)}}{8 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {\sin (c+d x) \sqrt {b \cos (c+d x)}}{4 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {3 \sqrt {b \cos (c+d x)} \tanh ^{-1}(\sin (c+d x))}{8 d \sqrt {\cos (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 17
Rule 3853
Rule 3855
Rubi steps
\begin {align*} \int \frac {\sqrt {b \cos (c+d x)}}{\cos ^{\frac {11}{2}}(c+d x)} \, dx &=\frac {\sqrt {b \cos (c+d x)} \int \sec ^5(c+d x) \, dx}{\sqrt {\cos (c+d x)}}\\ &=\frac {\sqrt {b \cos (c+d x)} \sin (c+d x)}{4 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {\left (3 \sqrt {b \cos (c+d x)}\right ) \int \sec ^3(c+d x) \, dx}{4 \sqrt {\cos (c+d x)}}\\ &=\frac {\sqrt {b \cos (c+d x)} \sin (c+d x)}{4 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {3 \sqrt {b \cos (c+d x)} \sin (c+d x)}{8 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {\left (3 \sqrt {b \cos (c+d x)}\right ) \int \sec (c+d x) \, dx}{8 \sqrt {\cos (c+d x)}}\\ &=\frac {3 \tanh ^{-1}(\sin (c+d x)) \sqrt {b \cos (c+d x)}}{8 d \sqrt {\cos (c+d x)}}+\frac {\sqrt {b \cos (c+d x)} \sin (c+d x)}{4 d \cos ^{\frac {9}{2}}(c+d x)}+\frac {3 \sqrt {b \cos (c+d x)} \sin (c+d x)}{8 d \cos ^{\frac {5}{2}}(c+d x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 66, normalized size = 0.62 \begin {gather*} \frac {\sqrt {b \cos (c+d x)} \left (3 \tanh ^{-1}(\sin (c+d x)) \cos ^4(c+d x)+\left (2+3 \cos ^2(c+d x)\right ) \sin (c+d x)\right )}{8 d \cos ^{\frac {9}{2}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.23, size = 121, normalized size = 1.13
method | result | size |
default | \(\frac {\left (3 \left (\cos ^{4}\left (d x +c \right )\right ) \ln \left (-\frac {-1+\cos \left (d x +c \right )-\sin \left (d x +c \right )}{\sin \left (d x +c \right )}\right )-3 \left (\cos ^{4}\left (d x +c \right )\right ) \ln \left (-\frac {-1+\cos \left (d x +c \right )+\sin \left (d x +c \right )}{\sin \left (d x +c \right )}\right )+3 \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )+2 \sin \left (d x +c \right )\right ) \sqrt {b \cos \left (d x +c \right )}}{8 d \cos \left (d x +c \right )^{\frac {9}{2}}}\) | \(121\) |
risch | \(-\frac {i \sqrt {b \cos \left (d x +c \right )}\, \left (3 \,{\mathrm e}^{7 i \left (d x +c \right )}+11 \,{\mathrm e}^{5 i \left (d x +c \right )}-11 \,{\mathrm e}^{3 i \left (d x +c \right )}-3 \,{\mathrm e}^{i \left (d x +c \right )}\right )}{4 \sqrt {\cos \left (d x +c \right )}\, d \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right )^{4}}-\frac {3 \sqrt {b \cos \left (d x +c \right )}\, \ln \left ({\mathrm e}^{i \left (d x +c \right )}-i\right )}{8 \sqrt {\cos \left (d x +c \right )}\, d}+\frac {3 \sqrt {b \cos \left (d x +c \right )}\, \ln \left ({\mathrm e}^{i \left (d x +c \right )}+i\right )}{8 \sqrt {\cos \left (d x +c \right )}\, d}\) | \(156\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 1656 vs.
\(2 (89) = 178\).
time = 0.67, size = 1656, normalized size = 15.48 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.43, size = 227, normalized size = 2.12 \begin {gather*} \left [\frac {3 \, \sqrt {b} \cos \left (d x + c\right )^{5} \log \left (-\frac {b \cos \left (d x + c\right )^{3} - 2 \, \sqrt {b \cos \left (d x + c\right )} \sqrt {b} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) - 2 \, b \cos \left (d x + c\right )}{\cos \left (d x + c\right )^{3}}\right ) + 2 \, \sqrt {b \cos \left (d x + c\right )} {\left (3 \, \cos \left (d x + c\right )^{2} + 2\right )} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{16 \, d \cos \left (d x + c\right )^{5}}, -\frac {3 \, \sqrt {-b} \arctan \left (\frac {\sqrt {b \cos \left (d x + c\right )} \sqrt {-b} \sin \left (d x + c\right )}{b \sqrt {\cos \left (d x + c\right )}}\right ) \cos \left (d x + c\right )^{5} - \sqrt {b \cos \left (d x + c\right )} {\left (3 \, \cos \left (d x + c\right )^{2} + 2\right )} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{8 \, d \cos \left (d x + c\right )^{5}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {b\,\cos \left (c+d\,x\right )}}{{\cos \left (c+d\,x\right )}^{11/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________